//
//  HNAPayDefaultDefine.h
//  HNAPayMobileSDK
//
//  Created by Ly_work on 15/11/18.
//  Copyright © 2015年 usolv. All rights reserved.
//

#ifndef HNAPayDefaultDefine_h
#define HNAPayDefaultDefine_h

//*********************************************************//
//*         上生产环境需打开NSLog宏定义屏蔽log输出              *//
//*********************************************************//

#ifndef DEBUG
#define NSLog(...){}
#else
#define NSLog(...) NSLog(__VA_ARGS__)
#endif

#define HNAPAYWEBURL @"https://gateway.hnapay.com/Trans/MobileClientAction.do"
#define NOTIFICATION_NAME_CLOSED @"HNAPAYCLOSED"

#define IS_IPHONE (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
#define IS_IPHONE_5 (IS_IPHONE && [[UIScreen mainScreen] bounds].size.height == 568.0f)
#define IOS7_OR_LATER   ( [[[UIDevice currentDevice] systemVersion] compare:@"7.0"] != NSOrderedAscending )
#define IOS8_OR_LATER   ( [[[UIDevice currentDevice] systemVersion] compare:@"8.0"] != NSOrderedAscending )

#define SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height
#define SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width


#endif /* HNAPayDefaultDefine_h */
